package com.jsy.mini12306.common.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 列车上的座位数量及及格（字典表）(TrainSeat)实体类
 *
 * @author: SongyangJi
 * @since: 2021-09-01 14:10:58
 * @description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TrainSeat implements Serializable {
    private static final long serialVersionUID = -14023050809513503L;
    /**
     * 车次（G124）
     */
    private Integer trainId;
    /**
     * 座位类型
     */
    private SeatType type;
    /**
     * 座位数量
     */
    private Integer quantity;

}
